package com.tedu.ds.sessionAndMessage.pojo.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;

@Data
@ApiModel(description = "客服用户对话信息表实体类")
public class SMessage {

    @ApiModelProperty(value = "消息id", example = "1")
    private Long id;

    @ApiModelProperty(value = "对话id", example = "1", required = true)
    private Integer sessionId;

    @ApiModelProperty(value = "客户id", example = "1")
    private Long custId;

    @ApiModelProperty(value = "客服id", example = "1")
    private Long csId;

    @ApiModelProperty(value = "聊天消息", example = "您好，有什么可以帮助您的？", required = true)
    private String message;

    @ApiModelProperty(value = "记录聊天发送的时间", example = "2023-10-24T20:00:00")
    private Date createTime;

    @ApiModelProperty(value = "读取情况'", example = "1", required = true)
    private String status;
}